home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _CDCBEC62D35F49CFBA9B30F1A8D80AB2 < prev    next >
Encoding:
Text File  |  2002-03-23  |  3.6 KB  |  188 lines

  1. {
  2.     \\ BACKGROUND TASK POPUP MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name        "backgroundtask_popmenu"
  7.            visible        0
  8.            fullscreen    0
  9.         rect        0 0 640 480
  10.         focusColor    .49 .56 .27 1
  11.            style        1
  12.         popup
  13.     
  14.         onESC 
  15.         { 
  16.             close backgroundtask_popmenu ; 
  17.         }
  18.  
  19.         itemDef
  20.         {
  21.             name        window
  22.             rect        0 0 640 480
  23.             style        WINDOW_STYLE_FILLED
  24.             backcolor    0 0 0 .5
  25.             visible        1
  26.             decoration
  27.         }
  28.  
  29.         itemDef 
  30.         {
  31.             name        window
  32.                rect        160 80 400 400
  33.             background    "gfx/menus/backdrop/requestor"
  34.             style        WINDOW_STYLE_SHADER
  35.             visible        1
  36.             decoration
  37.         }
  38.  
  39.         itemDef 
  40.         {
  41.             name        window
  42.             text        "WARNING"
  43.             style        WINDOW_STYLE_FILLED
  44.             textfont    "hud"
  45.             textscale    .53
  46.             rect        180 102 322 33
  47.             textalign    1
  48.             textalignx    160
  49.             textaligny    7
  50.             forecolor    .12 .14 .08 1
  51.             backcolor    0 0 0 .25
  52.             visible        1
  53.             decoration
  54.         }
  55.  
  56.         itemDef 
  57.         {
  58.             name        window
  59.             rect        215 163 250 160
  60.             style        WINDOW_STYLE_FILLED
  61.             text        "It appears that you may have other applications running in the background which could potentially hurt the framerate of SoF2MP.  It is recommended that you quit these applications in order to get the best performance out of this product. "
  62.             textalignx    5
  63.             textaligny    8
  64.             textfont    "hud"
  65.             textscale    .43
  66.             forecolor    1 1 1 1
  67.             backcolor    0 0 0 .20
  68.             visible        1
  69.  
  70.             autowrapped
  71.             decoration
  72.         }
  73.  
  74.          itemDef 
  75.         {
  76.             name        ignore_multi
  77.             text        "Show This Warning Again:"
  78.             type        1
  79.             textfont    "hud"
  80.             textscale    .43
  81.             type        ITEM_TYPE_MULTI
  82.             style        WINDOW_STYLE_FILLED
  83.             rect        225 335 226 20
  84.             textalignx    2
  85.             textaligny    3
  86.             forecolor    .12 .14 .08 1
  87.             backcolor    0 0 0 0
  88.             visible        1
  89.             cvar        "com_ignoreothertasks"
  90.  
  91.             cvarFloatList
  92.             {
  93.                 "YES" 0
  94.                 "NO"  1
  95.             }
  96.             
  97.             action 
  98.             { 
  99.                 play "sound/misc/menus/select.wav" ; 
  100.             }
  101.             mouseEnter 
  102.             { 
  103.                 play "sound/misc/menus/hilite1.wav" ; 
  104.                 setitemcolor ignore_multi backcolor .12 .14 .08 1
  105.                 setitemcolor ignore_multi forecolor .49 .56 .27 1
  106.             }                 
  107.             mouseExit 
  108.             { 
  109.                 setitemcolor ignore_multi backcolor 0 0 0 0
  110.                 setitemcolor ignore_multi forecolor .12 .14 .08 1
  111.             }
  112.         }
  113.  
  114.         //    BUTTONS
  115.  
  116.         itemDef 
  117.         {
  118.             name        ok_button
  119.             text        "OK"
  120.             type        1
  121.             textfont    "hud"
  122.             textscale    .43
  123.             type        ITEM_TYPE_BUTTON
  124.             style        WINDOW_STYLE_FILLED
  125.             rect        255 372 45 26
  126.             textalignx    10
  127.             textaligny    5
  128.             forecolor    .12 .14 .08 1
  129.             backcolor    0 0 0 0
  130.             border        1
  131.             bordercolor    0 0 0 1
  132.             visible        1
  133.             
  134.             action 
  135.             { 
  136.                 play "sound/misc/menus/select.wav" ; 
  137.                 close backgroundtask_popmenu ; 
  138.             }
  139.             mouseEnter 
  140.             { 
  141.                 play "sound/misc/menus/hilite1.wav" ; 
  142.                 setitemcolor ok_button backcolor .12 .14 .08 1
  143.                 setitemcolor ok_button forecolor .49 .56 .27 1
  144.             }                 
  145.             mouseExit 
  146.             { 
  147.                 setitemcolor ok_button backcolor 0 0 0 0
  148.                 setitemcolor ok_button forecolor .12 .14 .08 1
  149.             }
  150.         }
  151.  
  152.         itemDef 
  153.         {
  154.             name        quit_button
  155.             text        "Quit"
  156.             type        1
  157.             textfont    "hud"
  158.             textscale    .43
  159.             type        ITEM_TYPE_BUTTON
  160.             style        WINDOW_STYLE_FILLED
  161.             rect        375 372 45 26
  162.             textalignx    7
  163.             textaligny    5
  164.             forecolor    .12 .14 .08 1
  165.             backcolor    0 0 0 0
  166.             border        1
  167.             bordercolor    0 0 0 1
  168.             visible        1
  169.             
  170.             action 
  171.             { 
  172.                 play "sound/misc/menus/select.wav" ; 
  173.                 uiScript "quit"
  174.             }
  175.             mouseEnter 
  176.             { 
  177.                 play "sound/misc/menus/hilite1.wav" ; 
  178.                 setitemcolor quit_button backcolor .12 .14 .08 1
  179.                 setitemcolor quit_button forecolor .49 .56 .27 1
  180.             }                 
  181.             mouseExit 
  182.             { 
  183.                 setitemcolor quit_button backcolor 0 0 0 0
  184.                 setitemcolor quit_button forecolor .12 .14 .08 1
  185.             }
  186.         }
  187.     }
  188. }